import { Code, Digdit, Entity, Money, PrimaryUuid, Uuid } from "@sker/core";

@Entity({
    name: 'kd_baojia'
})
export class KdBaojia {
    @PrimaryUuid()
    id: string;

    @Money()
    start: number;

    @Money({nullable: true, default: 0})
    end: number;

    @Code()
    type: string;

    @Digdit()
    value: number;

    @Uuid()
    agent_id: string;
}
